<template>
	<div class="my-favorite">
	  <div class="logined" >
		<TopNav :tabitem="topnav" />
		<!-- 内容 -->
		<div class="favorite-content w">
		  <router-view ></router-view>
		</div>
	  </div>
	</div>
  </template>
  
  <script setup>
  import TopNav from '../../components/common/TopNav.vue';
  import { computed } from 'vue';
  import { useStore } from 'vuex';
  
  const store = useStore();
//   const isLogin = computed(() => store.state.isLogin);
  
  const topnav = [
    { path: '/myfavorite/songs', name: '歌曲' },
	{ path: '/myfavorite/songslist', name: '歌单' },
	{ path: '/myfavorite/album', name: '专辑' },
	{ path: '/myfavorite/singer', name: '歌手'},
	
  ];
  

  </script>
  
  <style lang="less" scoped></style>